package com.contain.minio.service;

import com.contain.minio.bean.HelloProperties;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Auther: tianchao
 * @Date: 2021/8/19 21:13
 * @Description:
 */

/**
 * 默认不要放在容器中
 */
public class HelloService {

    @Autowired
    HelloProperties helloProperties;

    public String sayHello(String username){
        return helloProperties.getPrefix() + ":(" + username +  ")" + helloProperties.getSuffix();
    }
}
